package com.zbkj.crmeb.store.request;

import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * @author stivepeim
 * @title: StoreOrderSearchRequest
 * @projectName crmeb
 * @description: TODO
 * @date 2020/5/2816:03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_store_order")
@ApiModel(value="StoreOrderSearchRequest对象", description="订单表")
public class StoreOrderSearchRequest {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "用户UID/作废佣金所属用户id")
    private Integer uid;

    @ApiModelProperty(value = "订单号")
    private String orderId;

    @ApiModelProperty(value = "订单号")
    private List<String> orderIdList;

    @ApiModelProperty(value = "创建时间区间")
    private String dateLimit;

    @ApiModelProperty(value = "订单状态（all 总数； 未支付 unPaid； 未发货 notShipped；待收货 spike；待评价 bargain；已完成 complete；待核销 toBeWrittenOff；退款中:refunding；已退款:refunded；已删除:deleted")
    private String status;

    @ApiModelProperty(value = "是否删除")
    private Boolean isDel;

    @ApiModelProperty(value = "团长id")
    private Integer leaderId;

    @ApiModelProperty(value = "商户id")
    private Integer merId;
    
    @ApiModelProperty(value = "商户ids")
    private List<Integer> merIds;

    /**
     * 供应商id：
     * 2是易时尚
     * 37, 136 是创蓝
     * 42是Muse
     * 21是巴黎春天
     */
    @ApiModelProperty(value = "供应商id")
    private String suppliersId;

    @ApiModelProperty(value = "订单来源（1 : 寻物 2：天猫)")
    private Integer source;

    @ApiModelProperty(value = "支付方式 平台支付:orage  商家微信支付:weixin  余额支付:yue  线下支付:offline")
    private String payType;

    @TableField(exist = false)
    @ApiModelProperty(value = "支付方式",hidden= true )
    private String payTypeStr;
    
    @ApiModelProperty(value = "是否用了积分")
    private Boolean isIntegral;

    @ApiModelProperty(value = "收货人手机号")
    private String userPhone;

    @ApiModelProperty( hidden= true )
    private String startTime;
    @ApiModelProperty( hidden= true )
    private String EndTime;
    @ApiModelProperty( hidden= true )
    private String where;
    /**
     * 请求来源 ADMIN:平台 MER商户后台
     */
    @ApiModelProperty( hidden= true )
    private String requestSource;

    @ApiModelProperty(value = "取货方式（1快递 ; 2自提）")
    private Integer shippingType;

    @ApiModelProperty(value = "是否导出图片")
    private Boolean isImg;

    @ApiModelProperty(value = "订单类型 1:自建  2:云仓")
    private Integer orderType;

    @ApiModelProperty(value = "是否用了优惠券")
    private Boolean isCoupon;

    @ApiModelProperty(value = "优惠券id")
    private Integer couponId;

    @ApiModelProperty( hidden= true )
    private Integer isEurope;

    @ApiModelProperty(value = "分类id集合")
    private String cateIdList;

    @ApiModelProperty(value = "品牌id集合")
    private String brandIdList;

    @ApiModelProperty(value = "下单用户搜索")
    private String orderUserSearch;

    @ApiModelProperty(value = "商品搜索")
    private String productSearch;

    @ApiModelProperty(value = "分类搜索")
    private List<String> cateIdListSearch;

    @ApiModelProperty(value = "供应商商品类型(1API接口  2表格导入  3商户自建转云仓)")
    private Integer commodityType;

    @ApiModelProperty(value = "会员折扣 true")
    private Boolean isMember;
    
    @ApiModelProperty(value = "是否推送过吉客云")
    private Boolean isPushJky;

    @ApiModelProperty(value = "是否批采订单",hidden = true)
    private Boolean isPicking;

    @ApiModelProperty(value = "批采订单类型 1待核实  2已核实  3已取消")
    private Integer pickingType;

    @ApiModelProperty(value = "批采单ID集合")
    private List<Integer> pickingIds;

    @ApiModelProperty(value = "总后台批量查询订单号")
    private List<String> orderIds;

    @ApiModelProperty(value = "状态集合")
    private List<Integer> orderStatusList;

    @ApiModelProperty(value = "发货时间开始")
    private String orderDeliveryTimeStart;

    @ApiModelProperty(value = "发货时间结束")
    private String orderDeliveryTimeEnd;

    @ApiModelProperty(value = "作废佣金的商品规格列表")
    private List<String> sourceSkuIdList;

    @ApiModelProperty(value = "作废佣金对应的订单是否属于拼团活动")
    private Integer isGroupActivity;

    @ApiModelProperty(value = "拼团活动id")
    private Integer activityId;

}
